package day7.QuickHit;


public class Game {
    public final static Level levels[]=new Level[6];
    static {
        levels[0]=new Level(1, 2, 6, 30,1);
        levels[1]=new Level(2, 3, 5, 26,2);
        levels[2]=new Level(3, 4, 4, 22,5);
        levels[3]=new Level(4, 5, 3, 18,8);
        levels[4]=new Level(5, 6, 2, 15,10);
        levels[5]=new Level(6, 7, 1, 12,15);
    }
    public String printStr(int no){
        String b="";
        for (int i = 0; i <no; i++) {
            b = b+(char) (Math.random() * (127 - 32) + 32);

        }
        return b;
    }
    public boolean printResult(String out, String in){
        boolean b;
        if (out.equals(in)) {
            b=true;
            return true;
        } else {
            b=false;
        }
        return false;
    }
}
